<template>
	<view class="img_ad" :style="{ marginTop: source.margin + 'px', marginBottom: source.margin2 + 'px' }">
		<wx-auth :type="1" :link="source.img"></wx-auth>
		<image lazy-load class="image" :src="source.img.url" mode="widthFix"></image>
	</view>
</template>

<script>
	export default {
		props: {
			source: [Object]
		}
	}
</script>

<style lang="less">
.img_ad {
	position: relative;
	image {
		display: block;
		width: 100%;
	}
}
</style>
